package com.ruoyi.crm.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.crm.domain.CrmFeeApplyDetails;

/**
 * 费用申请明细详情Mapper接口
 *
 * @author yanwenliang
 * @date 2024-10-31
 */
public interface CrmFeeApplyDetailsMapper extends BaseMapper<CrmFeeApplyDetails>
{
    /**
     * 查询费用申请明细详情
     *
     * @param applyDetailsId 费用申请明细详情主键
     * @return 费用申请明细详情
     */
    public CrmFeeApplyDetails selectCrmFeeApplyDetailsByApplyDetailsId(String applyDetailsId);

    /**
     * 查询费用申请明细详情列表
     *
     * @param crmFeeApplyDetails 费用申请明细详情
     * @return 费用申请明细详情集合
     */
    public List<CrmFeeApplyDetails> selectCrmFeeApplyDetailsList(CrmFeeApplyDetails crmFeeApplyDetails);

    /**
     * 新增费用申请明细详情
     *
     * @param crmFeeApplyDetails 费用申请明细详情
     * @return 结果
     */
    public int insertCrmFeeApplyDetails(CrmFeeApplyDetails crmFeeApplyDetails);

    /**
     * 修改费用申请明细详情
     *
     * @param crmFeeApplyDetails 费用申请明细详情
     * @return 结果
     */
    public int updateCrmFeeApplyDetails(CrmFeeApplyDetails crmFeeApplyDetails);

    /**
     * 删除费用申请明细详情
     *
     * @param applyDetailsId 费用申请明细详情主键
     * @return 结果
     */
    public int deleteCrmFeeApplyDetailsByApplyDetailsId(String applyDetailsId);

    /**
     * 批量删除费用申请明细详情
     *
     * @param applyDetailsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCrmFeeApplyDetailsByApplyDetailsIds(String[] applyDetailsIds);
}
